import request from "@/request/api";

//交接班配置接口
//1.交接班配置查询接口
export function queryMatterList(data) {
  return request({
    url: "/eam-service-operation/tip/list",
    method: "get",
    params: data,
  });
}
//1.交接班配置插入接口
export function insertMatter(data) {
  return request({
    url: "/eam-service-operation/tip/insert",
    method: "post",
    data: data,
  });
}
//2、交接班配置新增或修改接口
export function addOrUpdateMatter(data) {
  return request({
    url: "/eam-service-operation/tip/add",
    method: "post",
    data: data,
  });
}
//3、交接班配置删除接口
export function deleteMatter(data) {
  return request({
    url: "/eam-service-operation/tip",
    method: "delete",
    params: data,
  });
}
//3、同步最后一个交接班的数据
export function reserveMatter(data) {
  return request({
    url: "/eam-service-operation/tip/last",
    method: "get",
    params: data,
  });
}
